<?php

use yii\db\Migration;

class m170825_020247_alert_card_send extends Migration
{
    public function safeUp()
    {
        $this->addColumn('{{%card_send}}', 'parent_id', $this->integer() . ' default 0 comment \'父级id\'');

    }

    public function safeDown()
    {
        $this->dropColumn('{{%card_send}}', 'parent_id');
    }
}
